@import '~antd/es/style/themes/default.less';
@import '~locomotive-scroll/dist/locomotive-scroll.min.css';

html,
body,
#root {
  height: 100%;
  line-height: 1.66;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

div,
span {
  box-sizing: border-box;
}
div {
}

input {
  line-height: 1.42;
}
p {
  margin: 0;
}
img {
  max-width: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

/** G **/
.codeBox {
  width: auto;
  display: flex;
  flex-direction: column;
  background: #fafafa;
  border: solid 1px #eee;
  border-radius: 5px;
  padding: 10px;
  P {
    margin: 0;
    font-size: 12px;
    color: #666;
  }
}
/** G **/
